package com.zucc.controller.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : charspan
 * @Description :
 * @create : 2021-12-05 8:59 上午
 */
@Data
@ApiModel("修改菜单参数")
public class MenuModifyReq {

    @ApiModelProperty(value = "菜单编号", required = true)
    @NotNull(message = "菜单编号不能为空")
    private Long id;

    @ApiModelProperty(value = "备注")
    private String remarks;

    @ApiModelProperty(value = "菜单名称")
    @NotNull(message = "菜单名称不能为空")
    private String name;

    @ApiModelProperty(value = "菜单图标短链接")
    private String icon;

    @ApiModelProperty(value = "菜单跳转短链接")
    @NotNull(message = "菜单跳转短链接不能为空")
    private String uri;

    @ApiModelProperty(value = "菜单排序")
    private Integer sort;
}
